package dominio;

import java.util.Vector;

public class Revisor extends Persona {

	private Vector<String> keywords;
	private String key;

	public Revisor() {
	}
	
	public Revisor(String dni, String nombre, String apellido, String afiliacion, String email, String password, String rol) {
		super(dni,nombre,apellido,afiliacion,email, password, rol);
	}
	
	public Revisor(String dni, String nombre, String apellido, String afiliacion, String email, String password, String rol, Vector<String> v) {
		super(dni,nombre,apellido,afiliacion,email, password, rol);
		keywords = v;
	}
	
	public Revisor(String dni, String nombre, String apellido, String afiliacion, String email, String password, String rol, String v) {
		super(dni,nombre,apellido,afiliacion,email, password, rol);
		key = v;
	}

	public Vector<String> getKeywords() {
		return keywords;
	}

	public void setKeywords(Vector<String> keywords) {
		this.keywords = keywords;
	}
	
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
	
	@Override 
	public String toString()
	{
		return this.getDni() + " - "+this.getNombre() +" "+this.getApellido();
	}

}
